<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title></title>
	<meta name="keywords" content="" />
	<meta name="Description" content="" />
</head>
<body>
	<ul style="border:1px solid red;"><li id="a"></li></ul>
	<script>
		var abc=document.getElementById("a");
		function aaa(oT,sT,fN){
			if (oT.addEventListener){
				oT.addEventListener(sT,fN,false);
			}
			else {
				oT["on"+sT]=fN;
			}
		}
		aaa(abc,"click",function(){ca(this);})
		function ca(e){alert(e);}
	</script>
</body>
</html>